package com.settlement.system.handler.disruptor;

import cn.hutool.core.util.StrUtil;
import com.alibaba.fastjson2.JSONObject;
import com.lmax.disruptor.EventHandler;
import com.settlement.system.common.enums.AuditTypeEnum;
import com.settlement.system.common.util.DateUtils;
import com.settlement.system.model.entity.*;
import com.settlement.system.service.*;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.BeanUtils;

import java.lang.reflect.Field;
import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

public class OrderConsumer implements EventHandler<MessageVo> {


    private static final Logger logger = LoggerFactory.getLogger(OrderConsumer.class);


    public OrderConsumer() {
    }


    @Override
    public void onEvent(MessageVo messageVo, long l, boolean b) {
        logger.info("接收到消息："+ messageVo.toString());
    }
}
